import { createRouter, createWebHistory } from "vue-router";


const routes = [
  {
      path: "/",
      component: () => import("../views/home.vue"),
  },
  {
      path:'/buy',
      component: () => import("../views/buy.vue"),
  },
  {
      path:'/show/:id',
      component: () => import("../views/show.vue"),
  }
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router